package com.liu.common;

/**
 * @param
 * @BelongsProject: MessageQueueDEMO
 * @BelongsPackage: com.liu.producer.common
 * @author: L
 * @Date: 2023/10/14 20:43
 * @return
 */

public interface Constants {

    Integer MAGIC_NUMBER = 0x1111;
    Byte VERSION = 1;
    String host = "192.168.139.137";
    Integer port = 27017;
    String username = "message";
    String password = "password";

    String database = "messagequeue";
    String connection = String.format("mongodb://%s:%s@%s:%d/%s", username, password, host, port,database);


}
